package com.wolfheader.wolfgame.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller("homePageController")
@RequestMapping("/")
public class HomePageController {

	private static final String template_url = "homepage";

	@RequestMapping(method = RequestMethod.GET)
	public String index(HttpServletRequest request, ModelMap map) throws Exception {
		// 去为微信获取授权
		return HomePageController.template_url + "/index";
	}
}
